home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 076-100 / 079 / sharedlib / functionlist.c < prev    next >
Text File  |  1995-03-13  |  861b  |  35 lines

  1. /* FunctionList.c    James M Synge    16-Apr-1987    */
  2.  
  3. /* This file contains the function table whose address is
  4.  * passed to MakeLibrary.  This table is used to create the
  5.  * jump table which will immediately proceed the library
  6.  * structure in memory.  Notice that the first three entries
  7.  * are the assembly language interludes in the file
  8.  * LibHead.ASM.
  9.  */
  10.  
  11. /* Required routines:                    */
  12.  
  13. long _Library_Open();    /* Called by OpenLibrary().    */
  14. long _Library_Close();    /* Called by CloseLibrary().    */
  15. long _Library_Expunge();/* Called by memory allocator.    */
  16. long  Library_Reserved();    /* Must return 0L.    */
  17.  
  18. /* Public, library specific routines:            */
  19.  
  20. long _CreateTask();
  21. long _DeleteTask();
  22.  
  23. long (* FunctionList[])() = {
  24.  
  25.     _Library_Open,
  26.     _Library_Close,
  27.     _Library_Expunge,
  28.      Library_Reserved,
  29.  
  30.     _CreateTask,
  31.     _DeleteTask,
  32.  
  33.     -1L    /* Marks the end of the list. */
  34. };
  35.